<style type="text/css">
    .sm-st {
        background: #fff;
        padding: 20px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
		text-align: center;
    }

    .sm-st-icon {
        width: 60px;
        height: 60px;
        display: inline-block;
        line-height: 60px;
        text-align: center;
        font-size: 15px;
        background: #eee;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        color: #fff;
    }
	
	.sm-st-info {
		text-align: center;
        font-size: 60px;
        font-weight: 600;
    }

    .st-blue {
        background-color: #23b7e5;
    }
</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <input type="hidden" name="row[id]" value="{$row.id}">
	<div class="panel panel-default panel-intro">
		<div class="panel-heading">
			<ul class="nav nav-tabs">
				<li class="active"><a href="#basic" data-toggle="tab">项目进度</a></li>
			</ul>
		</div>
		<div class="panel-body">
			<div class="row" style="text-align: center;">
				<div class="col-sm-2 col-xs-6">
					<div class="sm-st clearfix">
						<span class="sm-st-icon {if $row.status>=0}st-blue{/if}">未开始</span>
					</div>
				</div>
				<div class="col-sm-1 col-xs-6">
					<div class="sm-st-info"><i class="fa fa-long-arrow-right"></i></div>
				</div>
				<div class="col-sm-2 col-xs-6">
					<div class="sm-st clearfix">
						<span class="sm-st-icon {if $row.status>=1}st-blue{/if}">采购中</span>
					</div>
				</div>
				<div class="col-sm-1 col-xs-6">
					<div class="sm-st-info"><i class="fa fa-long-arrow-right"></i></div>
				</div>
				<div class="col-sm-2 col-xs-6">
					<div class="sm-st clearfix">
						<span class="sm-st-icon {if $row.status>=2}st-blue{/if}">实施中</span>
					</div>
				</div>
				<div class="col-sm-1 col-xs-6">
					<div class="sm-st-info"><i class="fa fa-long-arrow-right"></i></div>
				</div>
				<div class="col-sm-2 col-xs-6">
					<div class="sm-st clearfix">
						<span class="sm-st-icon {if $row.status>=3}st-blue{/if}">项目完成</span>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="panel panel-default panel-intro">
		<div class="panel-heading">
			<ul class="nav nav-tabs">
				<li class="active"><a href="#basic" data-toggle="tab">项目信息</a></li>
			</ul>
		</div>
		<div class="panel-body">
			<div class="form-group">
				<label for="c-serialnumber" class="control-label col-xs-12 col-sm-2">{:__('项目编号')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-serialnumber" data-rule="required" class="form-control" name="row[serialnumber]" type="number" value="{$row.serialnumber}">
				</div>
				<label class="control-label col-xs-12 col-sm-2">{:__('预算年度')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-budgetyear" data-rule="required" class="form-control datetimepicker" name="row[budgetyear]" data-date-format="YYYY" data-use-current="true" type="text" value="{$row.budgetyear}">
				</div>
			</div>
			<div class="form-group">
				<label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('项目名称')}:</label>
				<div class="col-xs-12 col-sm-8">
					<input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-xs-12 col-sm-2" style="display:none">{:__('项目采购时间')}:</label>
				<div class="col-xs-12 col-sm-3" style="display:none">
					<input id="c-starttime" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[starttime]" type="text" value="{if $row.starttime}{$row.starttime|datetime}{/if}">
				</div>
				<label class="control-label col-xs-12 col-sm-2">{:__('项目实施时间')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-shishitime" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[shishitime]" type="text" value="{if $row.shishitime}{$row.shishitime|datetime}{/if}">
				</div>
				<label class="control-label col-xs-12 col-sm-2">{:__('项目完成时间')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-endtime" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[endtime]" type="text" value="{if $row.endtime}{$row.endtime|datetime}{/if}">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-xs-12 col-sm-2">{:__('负责科室')}:</label>
				<div class="col-xs-12 col-sm-3">
					{$departList}
				</div>
				<label class="control-label col-xs-12 col-sm-2">{:__('采购方式')}:</label>
				<div class="col-xs-12 col-sm-3">
					<select id="procuretype" name="row[procuretype]" data-rule="" class="form-control selectpicker">
						<option value="">--请选择--</option>
						<option value="1" {if $row['procuretype'] eq 1}selected{/if}>公开招标</option>
						<option value="2" {if $row['procuretype'] eq 2}selected{/if}>邀请招标</option>
						<option value="3" {if $row['procuretype'] eq 3}selected{/if}>竞争性谈判</option>
						<option value="4" {if $row['procuretype'] eq 4}selected{/if}>竞争性磋商</option>
						<option value="5" {if $row['procuretype'] eq 5}selected{/if}>单一来源采购</option>
						<option value="6" {if $row['procuretype'] eq 6}selected{/if}>询价</option>
						<option value="7" {if $row['procuretype'] eq 7}selected{/if}>直接签订</option>
						<option value="8" {if $row['procuretype'] eq 8}selected{/if}>其他</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label for="c-contacter" class="control-label col-xs-12 col-sm-2">{:__('联系人')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-contacter" data-rule="" class="form-control" name="row[contacter]" type="text" value="{$row.contacter|htmlentities}">
				</div>
				<label for="c-contactphone" class="control-label col-xs-12 col-sm-2">{:__('联系方式')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-contactphone" data-rule="" class="form-control" name="row[contactphone]" type="text" value="{$row.contactphone|htmlentities}">
				</div>
			</div>
			<div id="agentcompany" class="form-group" {if $row['procuretype'] eq "" || $row['procuretype'] eq 7}style="display:none"{/if}>
				<label for="c-agentcompany" class="control-label col-xs-12 col-sm-2">{:__('代理公司')}:</label>
				<div class="col-xs-12 col-sm-8">
					<input id="c-agentcompany" data-rule="" class="form-control" name="row[agentcompany]" type="text" value="{$row.agentcompany|htmlentities}">
				</div>
			</div>
			<div id="biddercompany" class="form-group" {if $row['procuretype'] eq ""}style="display:none"{/if}>
				<label for="c-biddercompany" class="control-label col-xs-12 col-sm-2">{:__('中标单位')}:</label>
				<div class="col-xs-12 col-sm-8">
					<input id="c-biddercompany" data-rule="" class="form-control" name="row[biddercompany]" type="text" value="{$row.biddercompany|htmlentities}">
				</div>
			</div>
			<div id="noticetime" class="form-group" {if $row['procuretype'] eq "" || $row['procuretype'] eq 7}style="display:none"{/if}>
				<label class="control-label col-xs-12 col-sm-2">{:__('公告发布时间')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-noticetime" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[noticetime]" type="text" value="{if $row.noticetime}{$row.noticetime|datetime}{/if}">
				</div>
				<label class="control-label col-xs-12 col-sm-2">{:__('开标时间')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-bidopentime" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[bidopentime]" type="text" value="{if $row.bidopentime}{$row.bidopentime|datetime}{/if}">
				</div>
			</div>
			<div id="contracttime" class="form-group" {if $row['procuretype'] eq ""}style="display:none"{/if}>
				<label class="control-label col-xs-12 col-sm-2">{:__('合同签订时间')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-contracttime" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[contracttime]" type="text" value="{if $row.contracttime}{$row.contracttime|datetime}{/if}">
				</div>
			</div>
			<div id="bidding" class="form-group" {if $row['procuretype'] eq "" || $row['procuretype'] eq 7}style="display:none"{/if}>				
				<label for="c-bidding" class="control-label col-xs-12 col-sm-2">{:__('招标文件')}:</label>				
				<div class="col-xs-12 col-sm-8">					
					<div class="input-group">						
						<input id="c-bidding" data-rule="" class="form-control" size="50" name="row[bidding]" type="text" value="{$row.bidding}">
						<div class="input-group-addon no-border no-padding">							
							<span><button type="button" id="faupload-bidding" class="btn btn-danger faupload" data-input-id="c-bidding" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false" data-preview-id="p-bidding"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>							
							<!-- <span><button type="button" id="fachoose-bidding" class="btn btn-primary fachoose" data-input-id="c-bidding" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
							<span style="display: inline-block;">{:build_checkboxs('row[nobidding]', ['1'=>__('不上传')], $row['nobidding'])}</span>
						</div>						
						<span class="msg-box n-right" for="c-bidding"></span>					
					</div>					
					<ul class="row list-inline faupload-preview" id="p-bidding"></ul>
				</div>			
			</div>
			<div id="rfp" class="form-group" {if $row['procuretype'] eq "" || $row['procuretype'] eq 7}style="display:none"{/if}>				
				<label for="c-rfp" class="control-label col-xs-12 col-sm-2">{:__('投标文件')}:</label>				
				<div class="col-xs-12 col-sm-8">					
					<div class="input-group">						
						<input id="c-rfp" data-rule="" class="form-control" size="50" name="row[rfp]" type="text" value="{$row.rfp}">						
						<div class="input-group-addon no-border no-padding">							
							<span><button type="button" id="faupload-rfp" class="btn btn-danger faupload" data-input-id="c-rfp" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false" data-preview-id="p-rfp"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>							
							<!-- <span><button type="button" id="fachoose-rfp" class="btn btn-primary fachoose" data-input-id="c-rfp" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
							<span style="display: inline-block;">{:build_checkboxs('row[norfp]', ['1'=>__('不上传')], $row['norfp'])}</span>
						</div>						
						<span class="msg-box n-right" for="c-rfp"></span>					
					</div>					
					<ul class="row list-inline faupload-preview" id="p-rfp"></ul>				
				</div>			
			</div>
			<div id="acceptance" class="form-group" {if $row['procuretype'] eq "" || $row['procuretype'] eq 7}style="display:none"{/if}>
				<label for="c-acceptance" class="control-label col-xs-12 col-sm-2">{:__('中标通知书')}:</label>
				<div class="col-xs-12 col-sm-8">
					<div class="input-group">
						<input id="c-acceptance" data-rule="" class="form-control" size="50" name="row[acceptance]" type="text" value="{$row.acceptance}">
						<div class="input-group-addon no-border no-padding">
							<span><button type="button" id="faupload-acceptance" class="btn btn-danger faupload" data-input-id="c-acceptance" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false" data-preview-id="p-acceptance"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
							<!-- <span><button type="button" id="fachoose-acceptance" class="btn btn-primary fachoose" data-input-id="c-acceptance" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
							<span style="display: inline-block;">{:build_checkboxs('row[noacceptance]', ['1'=>__('不上传')], $row['noacceptance'])}</span>
						</div>
						<span class="msg-box n-right" for="c-acceptance"></span>
					</div>
					<ul class="row list-inline faupload-preview" id="p-acceptance"></ul>
				</div>
			</div>
			<div id="lawyerletter" class="form-group" {if $row['procuretype'] eq ""}style="display:none"{/if}>				
				<label for="c-lawyerletter" class="control-label col-xs-12 col-sm-2">{:__('律师审核意见书')}:</label>				
				<div class="col-xs-12 col-sm-8">					
					<div class="input-group">						
						<input id="c-lawyerletter" data-rule="" class="form-control" size="50" name="row[lawyerletter]" type="text" value="{$row.lawyerletter}">						
						<div class="input-group-addon no-border no-padding">							
							<span><button type="button" id="faupload-lawyerletter" class="btn btn-danger faupload" data-input-id="c-lawyerletter" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false" data-preview-id="p-lawyerletter"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>							
							<!-- <span><button type="button" id="fachoose-lawyerletter" class="btn btn-primary fachoose" data-input-id="c-lawyerletter" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
							<span style="display: inline-block;">{:build_checkboxs('row[nolawyerletter]', ['1'=>__('不上传')], $row['nolawyerletter'])}</span>
						</div>						
						<span class="msg-box n-right" for="c-lawyerletter"></span>					
					</div>					
					<ul class="row list-inline faupload-preview" id="p-lawyerletter"></ul>
				</div>			
			</div>
			<div id="contract" class="form-group" {if $row['procuretype'] eq ""}style="display:none"{/if}>		
				<label for="c-contract" class="control-label col-xs-12 col-sm-2">{:__('中标合同')}:</label>				
				<div class="col-xs-12 col-sm-8">					
					<div class="input-group">						
						<input id="c-contract" data-rule="" class="form-control" size="50" name="row[contract]" type="text" value="{$row.contract}">
						<div class="input-group-addon no-border no-padding">							
							<span><button type="button" id="faupload-contract" class="btn btn-danger faupload" data-input-id="c-contract" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false" data-preview-id="p-contract"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>							
							<!-- <span><button type="button" id="fachoose-contract" class="btn btn-primary fachoose" data-input-id="c-contract" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
							<span style="display: inline-block;">{:build_checkboxs('row[nocontract]', ['1'=>__('不上传')], $row['nocontract'])}</span>
						</div>						
						<span class="msg-box n-right" for="c-contract"></span>					
					</div>					
					<ul class="row list-inline faupload-preview" id="p-contract"></ul>
				</div>			
			</div>
		</div>
	</div>
	
	<div class="panel panel-default panel-intro">
		<div class="panel-heading">
			<ul class="nav nav-tabs">
				<li class="active"><a href="#basic" data-toggle="tab">资金情况</a></li>
			</ul>
		</div>
		<div class="panel-body">
			<div class="form-group">
				<label for="c-totalmoney" class="control-label col-xs-12 col-sm-2">{:__('预算金额')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-totalmoney" data-rule="" class="form-control" name="row[totalmoney]" type="text" step="0.01" value="{:number_format($row.totalmoney,2)}">
				</div>
				<label for="c-biddermoney" class="control-label col-xs-12 col-sm-2">{:__('合同金额')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-biddermoney" data-rule="" class="form-control" name="row[biddermoney]" type="text" step="0.01" value="{:number_format($row.biddermoney,2)}">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-xs-12 col-sm-2">{:__('预算金额大写')}:</label>
				<div class="col-xs-12 col-sm-3">
					<span id="c-upcase_totalmoney" class="form-control">{:numToRmb($row.totalmoney)}</span>
				</div>
				<label for="c-biddermoney" class="control-label col-xs-12 col-sm-2">{:__('合同金额大写')}:</label>
				<div class="col-xs-12 col-sm-3">
					<span id="c-upcase_biddermoney" class="form-control">{:numToRmb($row.biddermoney)}</span>
				</div>
			</div>
			<div class="form-group">
				<label for="c-biddermoney" class="control-label col-xs-12 col-sm-2">{:__('执行比例')}:</label>
				<div class="col-xs-12 col-sm-3">
					<span class="execute_rate form-control">{$row.execute_rate}</span>
				</div>
				<label for="c-paymenttimes" class="control-label col-xs-12 col-sm-2">{:__('支付次数')}:</label>
				<div class="col-xs-12 col-sm-3">
					<select id="c-paymenttimes" data-rule="required" name="row[paymenttimes]" class="form-control selectpicker">
						<option value="1" {if $row.paymenttimes eq 1}selected{/if}>一次支付</option>
						<option value="2" {if $row.paymenttimes eq 2}selected{/if}>二次支付</option>
						<option value="3" {if $row.paymenttimes eq 3}selected{/if}>三次支付</option>
						<option value="4" {if $row.paymenttimes eq 4}selected{/if}>四次支付</option>
						<option value="5" {if $row.paymenttimes eq 5}selected{/if}>五次支付</option>
						<option value="6" {if $row.paymenttimes eq 6}selected{/if}>六次支付</option>
						<option value="7" {if $row.paymenttimes eq 7}selected{/if}>七次支付</option>
						<option value="8" {if $row.paymenttimes eq 8}selected{/if}>八次支付</option>
						<option value="9" {if $row.paymenttimes eq 9}selected{/if}>九次支付</option>
						<option value="10" {if $row.paymenttimes eq 10}selected{/if}>十次支付</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label for="c-fundingsource" class="control-label col-xs-12 col-sm-2">{:__('资金来源')}:</label>
				<div class="col-xs-12 col-sm-8">
					<textarea id="c-fundingsource" name="row[fundingsource]" data-rule="" class="form-control">{$row.fundingsource}</textarea>
				</div>
			</div>

			<div id="paymentimes-1" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第一次付款')}</label>
					<input type="hidden" name="row[paymentimes-1][id]" value="{if isset($row['paymentimes-1']['id'])}{$row['paymentimes-1']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime1" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-1][paymenttime]" type="text" value="{if isset($row['paymentimes-1']['paymenttime'])&&$row['paymentimes-1']['paymenttime']}{$row['paymentimes-1']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney1" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney1" data-rule="" class="form-control paymentmoney" name="row[paymentimes-1][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-1']['paymentmoney'])}{:number_format($row['paymentimes-1']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime1" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-1][realpaymenttime]" type="text" value="{if isset($row['paymentimes-1']['realpaymenttime'])&&$row['paymentimes-1']['realpaymenttime']}{$row['paymentimes-1']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney1" class="form-control upper-paymentmoney">{if isset($row['paymentimes-1']['paymentmoney'])}{:numToRmb($row['paymentimes-1']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-1][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-1']['paymentstatus'])?$row['paymentimes-1']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-1']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-1']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-1']['leiji_payment_rate'])}{$row['paymentimes-1']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition1" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition1" name="row[paymentimes-1][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-1']['paymentcondition'])}{$row['paymentimes-1']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
			
			<div id="paymentimes-2" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="{if $row.paymenttimes >= 2}display:block;{else}display:none;{/if}background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第二次付款')}</label>
					<input type="hidden" name="row[paymentimes-2][id]" value="{if isset($row['paymentimes-2']['id'])}{$row['paymentimes-2']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime2" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-2][paymenttime]" type="text" value="{if isset($row['paymentimes-2']['paymenttime'])&&$row['paymentimes-2']['paymenttime']}{$row['paymentimes-2']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney2" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney2" data-rule="" class="form-control paymentmoney" name="row[paymentimes-2][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-2']['paymentmoney'])}{:number_format($row['paymentimes-2']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime2" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-2][realpaymenttime]" type="text" value="{if isset($row['paymentimes-2']['realpaymenttime'])&&$row['paymentimes-2']['realpaymenttime']}{$row['paymentimes-2']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney2" class="form-control upper-paymentmoney">{if isset($row['paymentimes-2']['paymentmoney'])}{:numToRmb($row['paymentimes-2']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-2][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-2']['paymentstatus'])?$row['paymentimes-2']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-2']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-2']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-2']['leiji_payment_rate'])}{$row['paymentimes-2']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition2" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition2" name="row[paymentimes-2][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-2']['paymentcondition'])}{$row['paymentimes-2']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
			
			<div id="paymentimes-3" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="{if $row.paymenttimes >= 3}display:block;{else}display:none;{/if}background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第三次付款')}</label>
					<input type="hidden" name="row[paymentimes-3][id]" value="{if isset($row['paymentimes-3']['id'])}{$row['paymentimes-3']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime3" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-3][paymenttime]" type="text" value="{if isset($row['paymentimes-3']['paymenttime'])&&$row['paymentimes-3']['paymenttime']}{$row['paymentimes-3']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney3" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney3" data-rule="" class="form-control paymentmoney" name="row[paymentimes-3][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-3']['paymentmoney'])}{:number_format($row['paymentimes-3']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime3" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-3][realpaymenttime]" type="text" value="{if isset($row['paymentimes-3']['realpaymenttime'])&&$row['paymentimes-3']['realpaymenttime']}{$row['paymentimes-3']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney3" class="form-control upper-paymentmoney">{if isset($row['paymentimes-3']['paymentmoney'])}{:numToRmb($row['paymentimes-3']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-3][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-3']['paymentstatus'])?$row['paymentimes-3']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-3']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-3']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-3']['leiji_payment_rate'])}{$row['paymentimes-3']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition3" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition3" name="row[paymentimes-3][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-3']['paymentcondition'])}{$row['paymentimes-3']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
			
			<div id="paymentimes-4" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="{if $row.paymenttimes >= 4}display:block;{else}display:none;{/if}background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第四次付款')}</label>
					<input type="hidden" name="row[paymentimes-4][id]" value="{if isset($row['paymentimes-4']['id'])}{$row['paymentimes-4']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime4" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-4][paymenttime]" type="text" value="{if isset($row['paymentimes-4']['paymenttime'])&&$row['paymentimes-4']['paymenttime']}{$row['paymentimes-4']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney4" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney4" data-rule="" class="form-control paymentmoney" name="row[paymentimes-4][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-4']['paymentmoney'])}{:number_format($row['paymentimes-4']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime4" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-4][realpaymenttime]" type="text" value="{if isset($row['paymentimes-4']['realpaymenttime'])&&$row['paymentimes-4']['realpaymenttime']}{$row['paymentimes-4']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney4" class="form-control upper-paymentmoney">{if isset($row['paymentimes-4']['paymentmoney'])}{:numToRmb($row['paymentimes-4']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-4][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-4']['paymentstatus'])?$row['paymentimes-4']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-4']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-4']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-4']['leiji_payment_rate'])}{$row['paymentimes-4']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition4" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition4" name="row[paymentimes-4][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-4']['paymentcondition'])}{$row['paymentimes-4']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
			
			<div id="paymentimes-5" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="{if $row.paymenttimes >= 5}display:block;{else}display:none;{/if}background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第五次付款')}</label>
					<input type="hidden" name="row[paymentimes-5][id]" value="{if isset($row['paymentimes-5']['id'])}{$row['paymentimes-5']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime5" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-5][paymenttime]" type="text" value="{if isset($row['paymentimes-5']['paymenttime'])&&$row['paymentimes-5']['paymenttime']}{$row['paymentimes-5']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney5" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney5" data-rule="" class="form-control paymentmoney" name="row[paymentimes-5][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-5']['paymentmoney'])}{:number_format($row['paymentimes-5']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime5" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-5][realpaymenttime]" type="text" value="{if isset($row['paymentimes-5']['realpaymenttime'])&&$row['paymentimes-5']['realpaymenttime']}{$row['paymentimes-5']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney5" class="form-control upper-paymentmoney">{if isset($row['paymentimes-5']['paymentmoney'])}{:numToRmb($row['paymentimes-5']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-5][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-5']['paymentstatus'])?$row['paymentimes-5']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-5']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-5']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-5']['leiji_payment_rate'])}{$row['paymentimes-5']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition5" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition5" name="row[paymentimes-5][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-5']['paymentcondition'])}{$row['paymentimes-5']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
			
			<div id="paymentimes-6" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="{if $row.paymenttimes >= 6}display:block;{else}display:none;{/if}background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第六次付款')}</label>
					<input type="hidden" name="row[paymentimes-6][id]" value="{if isset($row['paymentimes-6']['id'])}{$row['paymentimes-6']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime6" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-6][paymenttime]" type="text" value="{if isset($row['paymentimes-6']['paymenttime'])&&$row['paymentimes-6']['paymenttime']}{$row['paymentimes-6']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney6" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney6" data-rule="" class="form-control paymentmoney" name="row[paymentimes-6][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-6']['paymentmoney'])}{:number_format($row['paymentimes-6']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime6" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-6][realpaymenttime]" type="text" value="{if isset($row['paymentimes-6']['realpaymenttime'])&&$row['paymentimes-6']['realpaymenttime']}{$row['paymentimes-6']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney6" class="form-control upper-paymentmoney">{if isset($row['paymentimes-6']['paymentmoney'])}{:numToRmb($row['paymentimes-6']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-6][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-6']['paymentstatus'])?$row['paymentimes-6']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-6']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-6']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-6']['leiji_payment_rate'])}{$row['paymentimes-6']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition6" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition6" name="row[paymentimes-6][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-6']['paymentcondition'])}{$row['paymentimes-6']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
			
			<div id="paymentimes-7" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="{if $row.paymenttimes >= 7}display:block;{else}display:none;{/if}background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第七次付款')}</label>
					<input type="hidden" name="row[paymentimes-7][id]" value="{if isset($row['paymentimes-7']['id'])}{$row['paymentimes-7']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime7" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-7][paymenttime]" type="text" value="{if isset($row['paymentimes-7']['paymenttime'])&&$row['paymentimes-7']['paymenttime']}{$row['paymentimes-7']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney7" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney7" data-rule="" class="form-control paymentmoney" name="row[paymentimes-7][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-7']['paymentmoney'])}{:number_format($row['paymentimes-7']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime7" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-7][realpaymenttime]" type="text" value="{if isset($row['paymentimes-7']['realpaymenttime'])&&$row['paymentimes-7']['realpaymenttime']}{$row['paymentimes-7']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney7" class="form-control upper-paymentmoney">{if isset($row['paymentimes-7']['paymentmoney'])}{:numToRmb($row['paymentimes-7']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-7][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-7']['paymentstatus'])?$row['paymentimes-7']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-7']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-7']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-7']['leiji_payment_rate'])}{$row['paymentimes-7']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition7" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition7" name="row[paymentimes-7][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-7']['paymentcondition'])}{$row['paymentimes-7']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
			
			<div id="paymentimes-8" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="{if $row.paymenttimes >= 8}display:block;{else}display:none;{/if}background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第八次付款')}</label>
					<input type="hidden" name="row[paymentimes-8][id]" value="{if isset($row['paymentimes-8']['id'])}{$row['paymentimes-8']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime8" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-8][paymenttime]" type="text" value="{if isset($row['paymentimes-8']['paymenttime'])&&$row['paymentimes-8']['paymenttime']}{$row['paymentimes-8']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney8" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney8" data-rule="" class="form-control paymentmoney" name="row[paymentimes-8][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-8']['paymentmoney'])}{:number_format($row['paymentimes-8']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime8" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-8][realpaymenttime]" type="text" value="{if isset($row['paymentimes-8']['realpaymenttime'])&&$row['paymentimes-8']['realpaymenttime']}{$row['paymentimes-8']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney8" class="form-control upper-paymentmoney">{if isset($row['paymentimes-8']['paymentmoney'])}{:numToRmb($row['paymentimes-8']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-8][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-8']['paymentstatus'])?$row['paymentimes-8']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-8']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-8']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-8']['leiji_payment_rate'])}{$row['paymentimes-8']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition8" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition8" name="row[paymentimes-8][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-8']['paymentcondition'])}{$row['paymentimes-8']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
			
			<div id="paymentimes-9" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="{if $row.paymenttimes >= 9}display:block;{else}display:none;{/if}background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第九次付款')}</label>
					<input type="hidden" name="row[paymentimes-9][id]" value="{if isset($row['paymentimes-9']['id'])}{$row['paymentimes-9']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime9" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-9][paymenttime]" type="text" value="{if isset($row['paymentimes-9']['paymenttime'])&&$row['paymentimes-9']['paymenttime']}{$row['paymentimes-9']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney9" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney9" data-rule="" class="form-control paymentmoney" name="row[paymentimes-9][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-9']['paymentmoney'])}{:number_format($row['paymentimes-9']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime9" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-9][realpaymenttime]" type="text" value="{if isset($row['paymentimes-9']['realpaymenttime'])&&$row['paymentimes-9']['realpaymenttime']}{$row['paymentimes-9']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney9" class="form-control upper-paymentmoney">{if isset($row['paymentimes-9']['paymentmoney'])}{:numToRmb($row['paymentimes-9']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-9][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-9']['paymentstatus'])?$row['paymentimes-9']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-9']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-9']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-9']['leiji_payment_rate'])}{$row['paymentimes-9']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition9" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition9" name="row[paymentimes-9][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-9']['paymentcondition'])}{$row['paymentimes-9']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
			
			<div id="paymentimes-10" class="col-xs-12 col-sm-10 col-sm-offset-1 paymentimes" style="{if $row.paymenttimes >= 10}display:block;{else}display:none;{/if}background-color: #eeeeee;margin-bottom: 10px;">
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('第十次付款')}</label>
					<input type="hidden" name="row[paymentimes-10][id]" value="{if isset($row['paymentimes-10']['id'])}{$row['paymentimes-10']['id']}{/if}" />
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('约定支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymenttime10" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-10][paymenttime]" type="text" value="{if isset($row['paymentimes-10']['paymenttime'])&&$row['paymentimes-10']['paymenttime']}{$row['paymentimes-10']['paymenttime']|datetime}{/if}">
					</div>
					<label for="c-paymentmoney10" class="control-label col-xs-12 col-sm-2">{:__('支付金额')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-paymentmoney10" data-rule="" class="form-control paymentmoney" name="row[paymentimes-10][paymentmoney]" type="text" step="0.01" value="{if isset($row['paymentimes-10']['paymentmoney'])}{:number_format($row['paymentimes-10']['paymentmoney'],2)}{/if}">
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('实际支付时间')}:</label>
					<div class="col-xs-12 col-sm-4">
						<input id="c-realpaymenttime10" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[paymentimes-10][realpaymenttime]" type="text" value="{if isset($row['paymentimes-10']['realpaymenttime'])&&$row['paymentimes-10']['realpaymenttime']}{$row['paymentimes-10']['realpaymenttime']|datetime}{/if}">
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付金额大写')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span id="c-upcase_paymentmoney10" class="form-control upper-paymentmoney">{if isset($row['paymentimes-10']['paymentmoney'])}{:numToRmb($row['paymentimes-10']['paymentmoney'])}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-xs-12 col-sm-2">{:__('是否付款')}:</label>
					<div class="col-xs-12 col-sm-4">
						{:build_radios('row[paymentimes-10][paymentstatus]', ['1'=>__('已付'), '0'=>__('未付')], isset($row['paymentimes-10']['paymentstatus'])?$row['paymentimes-10']['paymentstatus']:0)}
					</div>
					<label class="control-label col-xs-12 col-sm-2">{:__('支付比例')}:</label>
					<div class="col-xs-12 col-sm-4">
						<span class="pay-rate form-control">{if isset($row['paymentimes-10']['paymentmoney']) && $row.biddermoney!=0}{:round($row['paymentimes-10']['paymentmoney']*100/$row.biddermoney, 2)}%{/if}</span>
					</div>
					<label class="control-label col-xs-12 col-sm-2" style="text-align:left;display:none">{:__('累计比例')}:</label>
					<div class="col-xs-12 col-sm-2" style="margin-left: -35px;display:none">
						<span class="total-pay-rate form-control">{if isset($row['paymentimes-10']['leiji_payment_rate'])}{$row['paymentimes-10']['leiji_payment_rate']}{/if}</span>
					</div>
				</div>
				<div class="form-group">
					<label for="c-paymentcondition10" class="control-label col-xs-12 col-sm-2">{:__('支付条件')}:</label>
					<div class="col-xs-12 col-sm-8">
						<textarea id="c-paymentcondition10" name="row[paymentimes-10][paymentcondition]" data-rule="" class="form-control">{if isset($row['paymentimes-10']['paymentcondition'])}{$row['paymentimes-10']['paymentcondition']}{/if}</textarea>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<div class="panel panel-default panel-intro">
		<div class="panel-heading">
			<ul class="nav nav-tabs">
				<li class="active"><a href="#basic" data-toggle="tab">验收情况</a></li>
			</ul>
		</div>
		<div class="panel-body">
			<div class="form-group">
				<label for="c-checkreport" class="control-label col-xs-12 col-sm-2">{:__('验收报告')}:</label>
				<div class="col-xs-12 col-sm-8">
					<div class="input-group">
						<input id="c-checkreport" data-rule="" class="form-control" size="50" name="row[checkreport]" type="text" value="{$row.checkreport}">
						<div class="input-group-addon no-border no-padding">
							<span><button type="button" id="faupload-checkreport" class="btn btn-danger faupload" data-input-id="c-checkreport" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false" data-preview-id="p-checkreport"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
							<!-- <span><button type="button" id="fachoose-checkreport" class="btn btn-primary fachoose" data-input-id="c-checkreport" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
							<span style="display: inline-block;">{:build_checkboxs('row[nocheckreport]', ['1'=>__('不上传')], $row['nocheckreport'])}</span>
						</div>
						<span class="msg-box n-right" for="c-checkreport"></span>
					</div>
					<ul class="row list-inline faupload-preview" id="p-checkreport"></ul>
				</div>
			</div>
			<div class="form-group">
				<label for="c-checkreport" class="control-label col-xs-12 col-sm-2">{:__('完成情况')}:</label>
				<div class="col-xs-12 col-sm-3">
					{:build_radios('row[checkstatus]', ['1'=>__('已完成'), '0'=>__('未完成')], $row['checkstatus'])}
				</div>
				<label class="control-label col-xs-12 col-sm-2">{:__('验收时间')}:</label>
				<div class="col-xs-12 col-sm-3">
					<input id="c-checktime" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[checktime]" type="text" value="{if $row.checktime}{$row.checktime|datetime}{/if}">
				</div>
			</div>
			<div class="form-group">
				<label for="c-supervise" class="control-label col-xs-12 col-sm-2">{:__('项目监管')}:</label>
				<div class="col-xs-12 col-sm-8">
					{:build_checkboxs('row[supervise]', ['1'=>__('是')], $row['supervise'])}
				</div>
			</div>
			<div id="supervise" {if $row.supervise eq 0}style="display:none"{/if}>
			<div class="form-group">
				<label for="c-warranty_period" class="control-label col-xs-12 col-sm-2">{:__('质保期限')}:</label>
				<div class="col-xs-12 col-sm-8">
					<input id="c-warranty_period" data-rule="" class="form-control" name="row[warranty_period]" type="text" value="{$row.warranty_period|htmlentities}">
				</div>
			</div>
			<div class="form-group">
				<label for="c-supervision_depart" class="control-label col-xs-12 col-sm-2">{:__('监理单位')}:</label>
				<div class="col-xs-12 col-sm-8">
					<input id="c-supervision_depart" data-rule="" class="form-control" name="row[supervision_depart]" type="text" value="{$row.supervision_depart|htmlentities}">
				</div>
			</div>
			<div class="form-group">				
				<label for="c-supervision_report" class="control-label col-xs-12 col-sm-2">{:__('监理报告')}:</label>				
				<div class="col-xs-12 col-sm-8">					
					<div class="input-group">						
						<input id="c-supervision_report" data-rule="" class="form-control" size="50" name="row[supervision_report]" type="text" value="{$row.supervision_report}">
						<div class="input-group-addon no-border no-padding">							
							<span><button type="button" id="faupload-supervision_report" class="btn btn-danger faupload" data-input-id="c-supervision_report" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false" data-preview-id="p-supervision_report"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>							
							<!-- <span><button type="button" id="fachoose-supervision_report" class="btn btn-primary fachoose" data-input-id="c-supervision_report" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
							<span style="display: inline-block;">{:build_checkboxs('row[nosupervision_report]', ['1'=>__('不上传')], $row['nosupervision_report'])}</span>
						</div>						
						<span class="msg-box n-right" for="c-supervision_report"></span>					
					</div>					
					<ul class="row list-inline faupload-preview" id="p-supervision_report"></ul>
				</div>			
			</div>
			<div class="form-group">
				<label for="c-audit_depart" class="control-label col-xs-12 col-sm-2">{:__('工程审计单位')}:</label>
				<div class="col-xs-12 col-sm-8">
					<input id="c-audit_depart" data-rule="" class="form-control" name="row[audit_depart]" type="text" value="{$row.audit_depart|htmlentities}">
				</div>
			</div>
			<div class="form-group">				
				<label for="c-audit_report" class="control-label col-xs-12 col-sm-2">{:__('工程审计报告')}:</label>				
				<div class="col-xs-12 col-sm-8">					
					<div class="input-group">						
						<input id="c-audit_report" data-rule="" class="form-control" size="50" name="row[audit_report]" type="text" value="{$row.audit_report}">
						<div class="input-group-addon no-border no-padding">							
							<span><button type="button" id="faupload-audit_report" class="btn btn-danger faupload" data-input-id="c-audit_report" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false" data-preview-id="p-audit_report"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>							
							<!-- <span><button type="button" id="fachoose-audit_report" class="btn btn-primary fachoose" data-input-id="c-audit_report" data-mimetype="jpg,png,csv,doc,docx,xls,xlsx,pdf" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> -->
							<span style="display: inline-block;">{:build_checkboxs('row[noaudit_report]', ['1'=>__('不上传')], $row['noaudit_report'])}</span>
						</div>						
						<span class="msg-box n-right" for="c-audit_report"></span>					
					</div>					
					<ul class="row list-inline faupload-preview" id="p-audit_report"></ul>
				</div>			
			</div>
			</div>
		</div>
	</div>		
	
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('取消')}</button>
        </div>
    </div>
</form>